/**
 * 
 */
package net.teamix;

/**
 * @author shari
 *
 */
public class ParameterElement {
	Integer id;
	String typ;
	String value;
	
	
	public ParameterElement(String typ, String value, Integer id) {
		this.id=id;
		this.typ=typ;
		this.value=value;
	}
	
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	public String getTyp() {
		return typ;
	}
	public void setTyp(String typ) {
		this.typ = typ;
	}
	
	public boolean isInc(){
		   if(this.typ.equalsIgnoreCase("Include"))
		      return true;
		   else
		      return false;
		}
	public boolean isPara(){
		   if(this.typ.equalsIgnoreCase("Paragraph"))
		      return true;
		   else
		      return false;
		}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
}
